package com.wealth.page.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.page.entity.Ad;

import iaas.repository.BaseRepository;

/**
 * @author chan
 */
@Repository
public interface AdDao extends BaseRepository<Ad, Long>, JpaSpecificationExecutor<Ad> {
	
	//企业+类型+状态
	List<Ad> findByCorpIdAndTypeAndStatusOrderBySeqAsc(Long corpid,Integer type,Integer status);
	
}


